<!-- 求解1-100能被3和5同时整除的数字的和 -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>第一题</title>
</head>
<body>
    <script>
        sum = 0
        for(var i = 1;i < 101;i++){
            if(i % 3 ==0 && i % 5 ==0)
            sum += i
        }console.log(sum)
    </script>
</body>
</html>